<?php defined('In33hao') or exit('Access Invalid!');?>
<div class="home-standard-layout wrapper style-<?php echo $output['style_name'];?>">

  <div class="middle-layout" style="width:1200px;">

    <ul class="right-brand">

      <?php if (!empty($output['code_brand_list']['code_info']) && is_array($output['code_brand_list']['code_info'])) { ?>
        <?php foreach ($output['code_brand_list']['code_info'] as $key => $val) { ?>
          <li>
            <a href="<?php echo urlShop('brand', 'list', array('brand'=> $val['brand_id'])); ?>" title="<?php echo $val['brand_name']; ?>" target="_blank"><?php echo $val['brand_name']; ?></a>
          </li>
        <?php } ?>
      <?php } ?>
      <li>
      <li>
        <a href="<?php echo BASE_SITE_URL;?>/index.php?act=brand&op=index" title="" target="_blank">更多</a>
      </li>
    </ul>

    <ul class="tabs-nav">
      <li>
        <h1 style="padding-top:10px;font-size:20px;float:left"><span><?php echo $output['code_tit']['code_info']['floor'];?></span> <?php echo $output['code_tit']['code_info']['title'];?></h1>
      </li>
      <li class="tabs-selected"><i class="arrow">
          <h3>商品推荐</h3>
        </i>
      </li>
    </ul>

    <div class="tabs-panel middle-banner-style01 fade-img " style="width:1200px">

      <div class="right-sidebar">
        <div class="right-side-focus">
          <ul>
            <?php  if (is_array($output['code_adv']['code_info']) && !empty($output['code_adv']['code_info'])) { ?>
              <?php foreach ($output['code_adv']['code_info'] as $key => $val_) { ?>
                <?php if (is_array($val_) && !empty($val_)) { ?>
                  <li><a

                        href="<?php echo $val_['pic_url'];?>"

                        title="<?php echo $val_['pic_name'];?>" target="_blank"> <img

                          src="<?php echo UPLOAD_SITE_URL.'/'.$val_['pic_img'];?>" alt="<?php echo $val_['pic_name'];?>"/></a>
                  </li>
                <?php } ?>
              <?php } ?>
            <?php } ?>
          </ul>
        </div>
      </div>
      <div class="left-sidebar" style="height:420px">

        <div class="left-ads">
          <?php if(!empty($output['code_act']['code_info']['pic'])) { ?>
            <a href="<?php echo $output['code_act']['code_info']['url'];?>" title="<?php echo $output['code_act']['code_info']['title'];?>" target="_blank"> <img

                  style="height:420px" src="<?php  echo UPLOAD_SITE_URL.'/'.$output['code_act']['code_info']['pic'];?>" alt="<?php echo $output['code_act']['code_info']['title']; ?>"> </a>
          <?php } ?>
        </div>

      </div>
      <?php if (!empty($output['code_recommend_list']['code_info']) && is_array($output['code_recommend_list']['code_info'])) {
      $i = 0;
      ?>
      <?php foreach ($output['code_recommend_list']['code_info'] as $key => $val) {
      $i++;
      ?>
      <div class="middle-banner-list">
        <ul>
          <li>
            <dl style="margin:0;width: 100%; height: 100%">
              <dd class="banner-thumb" style="width:210px;height:210px;"> <a

                    href="<?php echo $val['pic_list']['11']['pic_url'];?>"

                    title="<?php echo $val['pic_list']['11']['pic_name'];?>" class="a1" style="width: 210px; height: 210px" target="_blank"> <img

                      src="<?php echo UPLOAD_SITE_URL;?>/shop/common/loading.gif" alt="<?php echo $val['pic_list']['11']['pic_name'];?>" data-url="<?php echo UPLOAD_SITE_URL.'/'.$val['pic_list']['11']['pic_img'];?>" rel="lazy" width="100%" height="100%" /></a></dd>
            </dl>
          </li>
          <li>
            <dl style="margin:0;width: 100%; height: 100%">
              <dd class="banner-thumb" style="width:210px;height:210px;"> <a

                    href="<?php echo $val['pic_list']['12']['pic_url'];?>"

                    title="<?php echo $val['pic_list']['12']['pic_name'];?>" class="a1" style="width: 210px; height: 210px" target="_blank"> <img

                      src="<?php echo UPLOAD_SITE_URL;?>/shop/common/loading.gif" alt="<?php echo $val['pic_list']['12']['pic_name'];?>" data-url="<?php echo UPLOAD_SITE_URL.'/'.$val['pic_list']['12']['pic_img'];?>" rel="lazy" width="100%" height="100%" /></a></dd>
            </dl>
          </li>
          <li>
            <dl style="margin:0;width: 100%; height: 100%">
              <dd class="banner-thumb" style="width:210px;height:210px;"> <a

                    href="<?php echo $val['pic_list']['31']['pic_url'];?>"

                    title="<?php echo $val['pic_list']['31']['pic_name'];?>" class="a1" style="width: 210px; height: 210px" target="_blank"> <img

                      src="<?php echo UPLOAD_SITE_URL;?>/shop/common/loading.gif" alt="<?php echo $val['pic_list']['31']['pic_name'];?>" data-url="<?php echo UPLOAD_SITE_URL.'/'.$val['pic_list']['31']['pic_img'];?>" rel="lazy" width="100%" height="100%" /></a></dd>
            </dl>
          </li>
          <li>
            <dl style="margin:0;width: 100%; height: 100%" >

              <dd class="banner-thumb" style="width:210px;height:210px;"> <a

                    href="<?php echo $val['pic_list']['32']['pic_url'];?>"

                    title="<?php echo $val['pic_list']['32']['pic_name'];?>" class="a1" style="width: 210px; height: 210px" target="_blank"> <img

                      src="<?php echo UPLOAD_SITE_URL;?>/shop/common/loading.gif" alt="<?php echo $val['pic_list']['32']['pic_name'];?>" data-url="<?php echo UPLOAD_SITE_URL.'/'.$val['pic_list']['32']['pic_img'];?>" rel="lazy" width="100%" height="100%"/></a></dd>
            </dl>
          </li>
          <li>
            <dl style="margin:0;width: 100%; height: 100%" width="100%" height="100%">
              <dd class="banner-thumb" style="width:210px;height:210px;"> <a

                    href="<?php echo $val['pic_list']['33']['pic_url'];?>"

                    title="<?php echo $val['pic_list']['33']['pic_name'];?>" class="a1" style="width: 210px; height: 210px" target="_blank"> <img

                      src="<?php echo UPLOAD_SITE_URL;?>/shop/common/loading.gif" alt="<?php echo $val['pic_list']['33']['pic_name'];?>" data-url="<?php echo UPLOAD_SITE_URL.'/'.$val['pic_list']['33']['pic_img'];?>" rel="lazy" width="100%" height="100%"/></a></dd>
            </dl>
          </li>
          <li>
            <dl style="margin:0;width: 100%; height: 100%" width="100%" height="100%">
              <dd class="banner-thumb" style="width:210px;height:210px;"> <a

                    href="<?php echo $val['pic_list']['34']['pic_url'];?>"

                    title="<?php echo $val['pic_list']['34']['pic_name'];?>" class="a1" style="width: 210px; height: 210px" target="_blank"> <img

                      src="<?php echo UPLOAD_SITE_URL;?>/shop/common/loading.gif" alt="<?php echo $val['pic_list']['34']['pic_name'];?>" data-url="<?php echo UPLOAD_SITE_URL.'/'.$val['pic_list']['34']['pic_img'];?>" rel="lazy" width="100%" height="100%"/></a></dd>
            </dl>
          </li>
        </ul>
      </div>

    </div>
    <?php } ?>
    <?php } ?>
  </div>
</div>
</div>